import request from '@/utils/request'

export function listMiniFankui(data) {
    return request({
        url: '/miniFankui/list',
        method: 'post',
        data: data
    })
}

export function getMiniFankui(keyId) {
    return request({
        url: '/miniFankui/detail/' + keyId,
        method: 'get'
    })
}

export function addMiniFankui(data) {
    return request({
        url: '/miniFankui/add',
        method: 'post',
        data: data
    })
}

export function updateMiniFankui(data) {
    return request({
        url: '/miniFankui/update',
        method: 'put',
        data: data
    })
}

export function delMiniFankui(keyId) {
    return request({
        url: '/miniFankui/delete/' + keyId,
        method: 'delete'
    })
}

export function exportMiniFankui(data) {
    return request({
        url: '/miniFankui/post/export',
        method: 'get',
        params: data
    })
}
